package tests;

import java.util.LinkedList;

import contacts.Adressbuch;
import contacts.Person;

/**
 * Testklasse
 * 
 * @author Michi
 * 
 */
public class VCardExport {
	LinkedList<Person> PersonList = new LinkedList<Person>();

	public VCardExport() {
		Person test = new Person("Brandt", "Michael");
		test.setStreet("Seeweg 60");
		test.setCity("Höchberg");
		test.setZip("97204");
		test.setAdresse("Seeweg 60\n97204 Höchberg");
		test.setBirthday("1987-08-22");
		test.setTelefonhome("+49 9323 875566");
		test.setTelefonarbeit("+49 9323 877979");
		test.setFax("+49 157 72737279");
		test.setHandynummer("+49 157 75757972");
		test.setEmail("brandt-michael@live.com");
		PersonList.add(test);

		Adressbuch ab = new Adressbuch("TestBuch");
		ab.addPerson(test);

		// ab.exportVCard(test);

	}

	public static void main(String[] args) {
		new VCardExport();
	}
}
